  <div class="main">
   <div class="banner"> 
    <img src="/resources/front/template/nbo/images/banner-blog.jpg" alt="Blog" />
    <h1>Blog</h1>
   </div>
   <div class="middle wide"> 
   <@postCommands params="{pageNo:${page_No!1},pageSize:${page_size!5}}" filters="{groupOp:'AND',rules:[${parameter!''},{field:'status',op:'eq',data:'approved'}]}";page>
    <article> 
     <h2><a href="/blog-article.html"> ${page.entity.title}<span class="comment">${page.totalCount} comments</span></a></h2> 
     <div class="subhead"> 
      <span class="cats">Filed under <a href="#nogo">Category 1</a>, <a href="#nogo">Category 2</a>, <a href="#nogo">Category 3</a></span> 
      <span class="date">Posted ${page.entity.postDate}</span> 
     </div> 
     <div class="addthis_toolbox addthis_default_style tar"> 
      <a class="addthis_button_preferred_1"></a> 
      <a class="addthis_button_preferred_2"></a> 
      <a class="addthis_button_preferred_3"></a> 
      <a class="addthis_button_preferred_4"></a> 
      <a class="addthis_button_compact"></a> 
      <a class="addthis_counter addthis_bubble_style"></a> 
     </div> 
     <script type="text/javascript" src="/resources/s7.addthis.com/js/300/addthis_widget.js#pubid=xa-5126de091822a58b"></script> 
     ${page.entity.content}
     <p class="tac">
    
     <#if page.entity.hasPrevious>
      <a href="${lg_path}/blog-article/view/1/{field:'post.id',op:'eq',data:'${page.entity.previous}'}">&laquo; Previous</a> |
      </#if>
      
       <a href="${lg_path}/blog.html">Blog Home </a>
        <#if page.entity.hasNext> 
        | <a href="${lg_path}/blog-article/view/1/{field:'post.id',op:'eq',data:'${page.entity.next}'}">Next &raquo;</a></p> 
           </#if>
    </article> 
    <div class="comments"> 
     <h3> ${page.totalCount} comments</h3> 
     <ul> 
	   <#list page.result as commands>
	    <li> <small>${commands.commentDate!''}</small> 
       <div class="name">
				${commands.author}
       </div> 
       <div class="contenttext"> 
        <p>
        
        ${commands.content?replace("\n", "<br>")}</p> 
       </div> </li>    
	   </#list>
  
	   
     </ul> 
 <#assign totalPages="${(page.totalPages gt 2000)?string('2000',page.totalPages)}" >
 <#assign pageUrl="${query_context}" >
    <div class="multipages"> 
     <span class="fl"> ${page.totalCount} items found. </span>
    <#if totalPages?number gt 1>
	<#if (page.pageNo?number) gt 1>
		<a href="${pageUrl}${((page.pageNo?number-1) gt 0)?string(page.pageNo?number-1,page.pageNo?number)}/${parameter!''}/">&#171; Prev</a>
	</#if>
	<#if page.pageNo?number == 1>
		<span class="current">1</span> 
	<!--
		<a class="cur_a" href="${pageUrl}?pageNo=1&">1</a>&nbsp;
		-->
	<#else>
		<a href="${pageUrl}1/${parameter!''}">1</a>&nbsp;
	</#if>
	<#if totalPages?number gt 0>
		<#if page.pageNo?number lt 10>
			<#if page.pageNo?number gte 2>
			<#list 2..page.pageNo?number as i>
				<#if page.pageNo?number==i>
				<span class="current">${i}</span> 
				
				<#else>
					<a href="${pageUrl}${i}/${parameter!''}">${i}</a>&nbsp;  
				</#if>
			</#list>
			</#if>
		<#else>
			  ...&nbsp;  
			  <#list page.pageNo?number-4..page.pageNo?number as i>
				<#if page.pageNo?number==i>
				<span class="current">${i}</span> 
				 
				<#else>
					<a href="${pageUrl}${i}/${parameter!''}">${i}</a>&nbsp;  
				</#if>
			  </#list>
		</#if>
		<#if page.pageNo?number gte totalPages?number-4 || totalPages?number-4 lte 0>
			<#if page.pageNo?number+1 lte totalPages?number>
			<#list page.pageNo?number+1..totalPages?number as i>
				<a href="${pageUrl}${i}/${parameter!''}">${i}</a>&nbsp;  
				<#if page.pageNo?number == i>
				   <span class="current">${i}</span> 
				    
				</#if>
			</#list>
			</#if>
		<#else>
			<#list page.nextPage..page.pageNo?number+4 as i>
				<#if page.pageNo?number == i>
				  <span class="current">${i}</span> 
				 
				<#else>
					<a href="${pageUrl}${i}/${parameter!''}">${i}</a>&nbsp;  
				</#if>
			</#list>
			  ...&nbsp;  
			  <a href="${pageUrl}${totalPages}/${parameter!''}">${totalPages}</a>&nbsp;  
		</#if>
		<#if page.pageNo?number lt totalPages?number>
			<a href="${pageUrl}${((page.nextPage) lt totalPages?number)?string(page.nextPage,totalPages?number)}/${parameter!''}/">Next &raquo;</a>
		</#if>
	</#if>
</#if>
</div>
     
     <form action="${ctx}/post-comment/${page.id}/create/"  method="post">
     <div class="commentAdd"> 
      <h3>Leave a reply</h3> 
      <table class="formT">
       <tbody> 
        <tr> 
         <th><span class="asterisk">*</span> Name:</th> 
         <td><input type="text" name="author"  /></td> 
        </tr> 
        <tr> 
         <th><span class="asterisk">*</span> Message:</th> 
         <td><textarea name="content"></textarea></td> 
        </tr> 
        <tr> 
         <th></th> 
         <td><input type="submit" name="" value="Submit" class="btn" /></td> 
        </tr> 
       </tbody>
      </table> 
     </div> 
     
     </form>
    </div> 
      </@postCommands>
   </div>
 <!-- end blog --> 
 <div class="right"> 
  <div class="box"> 
   <h3>Download</h3> 
   <a href="#nogo" class="more">2013 Leadership Survey Executive Summary &raquo;</a> 
  </div> 
  <div class="box"> 
   <h3>Got a question?</h3> 
   <a href="/contact.html" class="more">Speak with us today &raquo;</a> 
  </div> 
  <div class="box"> 
   <h4>Subscribe to our news feed</h4> 
   <div class="maillist"> 
    <input type="text" name="" /> 
    <input type="submit" name="" value="" class="ico icoMail" /> 
   </div> 
  </div> 
  <div class="box">
    Linked in profile here 
   <br /> 
   <br /> 
   <br /> 
   <br /> 
   <br /> 
  </div> 
 </div> 
 <!-- end right --> 
</div>